Optimal. Leaf size=88 \[ -\frac {4 b \sqrt {d x} \sqrt {1-c^2 x^2}}{9 c}+\frac {2 (d x)^{3/2} (a+b \text {ArcCos}(c x))}{3 d}+\frac {4 b \sqrt {d} F\left (\left .\text {ArcSin}\left (\frac {\sqrt {c} \sqrt {d x}}{\sqrt {d}}\right )\right |-1\right )}{9 c^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 88, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {4724, 327, 335,
227} \begin {gather*} \frac {2 (d x)^{3/2} (a+b \text {ArcCos}(c x))}{3 d}+\frac {4 b \sqrt {d} F\left (\left .\text {ArcSin}\left (\frac {\sqrt {c} \sqrt {d x}}{\sqrt {d}}\right )\right |-1\right )}{9 c^{3/2}}-\frac {4 b \sqrt {1-c^2 x^2} \sqrt {d x}}{9 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 227
Rule 327
Rule 335
Rule 4724
Rubi steps
\begin {align*} \int \sqrt {d x} \left (a+b \cos ^{-1}(c x)\right ) \, dx &=\frac {2 (d x)^{3/2} \left (a+b \cos ^{-1}(c x)\right )}{3 d}+\frac {(2 b c) \int \frac {(d x)^{3/2}}{\sqrt {1-c^2 x^2}} \, dx}{3 d}\\ &=-\frac {4 b \sqrt {d x} \sqrt {1-c^2 x^2}}{9 c}+\frac {2 (d x)^{3/2} \left (a+b \cos ^{-1}(c x)\right )}{3 d}+\frac {(2 b d) \int \frac {1}{\sqrt {d x} \sqrt {1-c^2 x^2}} \, dx}{9 c}\\ &=-\frac {4 b \sqrt {d x} \sqrt {1-c^2 x^2}}{9 c}+\frac {2 (d x)^{3/2} \left (a+b \cos ^{-1}(c x)\right )}{3 d}+\frac {(4 b) \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {c^2 x^4}{d^2}}} \, dx,x,\sqrt {d x}\right )}{9 c}\\ &=-\frac {4 b \sqrt {d x} \sqrt {1-c^2 x^2}}{9 c}+\frac {2 (d x)^{3/2} \left (a+b \cos ^{-1}(c x)\right )}{3 d}+\frac {4 b \sqrt {d} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {c} \sqrt {d x}}{\sqrt {d}}\right )\right |-1\right )}{9 c^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.13, size = 113, normalized size = 1.28 \begin {gather*} \frac {2}{9} \sqrt {d x} \left (3 a x-\frac {2 b \sqrt {1-c^2 x^2}}{c}+3 b x \text {ArcCos}(c x)-\frac {2 i b \sqrt {-\frac {1}{c}} \sqrt {1-\frac {1}{c^2 x^2}} \sqrt {x} F\left (\left .i \sinh ^{-1}\left (\frac {\sqrt {-\frac {1}{c}}}{\sqrt {x}}\right )\right |-1\right )}{\sqrt {1-c^2 x^2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 119, normalized size = 1.35
method | result | size |
derivativedivides | \(\frac {\frac {2 \left (d x \right )^{\frac {3}{2}} a}{3}+2 b \left (\frac {\left (d x \right )^{\frac {3}{2}} \arccos \left (c x \right )}{3}+\frac {2 c \left (-\frac {d^{2} \sqrt {d x}\, \sqrt {-c^{2} x^{2}+1}}{3 c^{2}}+\frac {d^{2} \sqrt {-c x +1}\, \sqrt {c x +1}\, \EllipticF \left (\sqrt {d x}\, \sqrt {\frac {c}{d}}, i\right )}{3 c^{2} \sqrt {\frac {c}{d}}\, \sqrt {-c^{2} x^{2}+1}}\right )}{3 d}\right )}{d}\) | \(119\) |
default | \(\frac {\frac {2 \left (d x \right )^{\frac {3}{2}} a}{3}+2 b \left (\frac {\left (d x \right )^{\frac {3}{2}} \arccos \left (c x \right )}{3}+\frac {2 c \left (-\frac {d^{2} \sqrt {d x}\, \sqrt {-c^{2} x^{2}+1}}{3 c^{2}}+\frac {d^{2} \sqrt {-c x +1}\, \sqrt {c x +1}\, \EllipticF \left (\sqrt {d x}\, \sqrt {\frac {c}{d}}, i\right )}{3 c^{2} \sqrt {\frac {c}{d}}\, \sqrt {-c^{2} x^{2}+1}}\right )}{3 d}\right )}{d}\) | \(119\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.73, size = 69, normalized size = 0.78 \begin {gather*} -\frac {2 \, {\left (2 \, \sqrt {-c^{2} d} b {\rm weierstrassPInverse}\left (\frac {4}{c^{2}}, 0, x\right ) - {\left (3 \, b c^{3} x \arccos \left (c x\right ) + 3 \, a c^{3} x - 2 \, \sqrt {-c^{2} x^{2} + 1} b c^{2}\right )} \sqrt {d x}\right )}}{9 \, c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.65, size = 76, normalized size = 0.86 \begin {gather*} \frac {2 a \left (d x\right )^{\frac {3}{2}}}{3 d} + \frac {b c \left (d x\right )^{\frac {5}{2}} \Gamma \left (\frac {5}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {5}{4} \\ \frac {9}{4} \end {matrix}\middle | {c^{2} x^{2} e^{2 i \pi }} \right )}}{3 d^{2} \Gamma \left (\frac {9}{4}\right )} + \frac {2 b \left (d x\right )^{\frac {3}{2}} \operatorname {acos}{\left (c x \right )}}{3 d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \left (a+b\,\mathrm {acos}\left (c\,x\right )\right )\,\sqrt {d\,x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________